package com.zksk.mbg.admin.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.zksk.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 经纪公司表
 * </p>
 *
 * @author Zksk Acmen
 * @since 2022-12-02
 */
@Data
@Accessors(chain = true)
@TableName("platform_economic_company")
@ApiModel(value = "EconomicCompany对象", description = "经纪公司表")
public class EconomicCompany extends BaseEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField("`name`")
    private String name;

    @TableField("router")
    private String router;

    @TableField("`desc`")
    private String desc;

    @TableField(value = "del_flag", fill = FieldFill.INSERT)
    @TableLogic
    private Integer delFlag;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String ROUTER = "router";

    public static final String DESC = "desc";

    public static final String DEL_FLAG = "del_flag";

    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
